<template>
  <div>
    <div class="bigDiv" v-for="(val, index) in payArr" :key="index" v-if="!noneRecord" >
      <div class="titleTextCss" >{{val.recordCollectionSchoolFees_Name}}</div>
      <span>缴费时间： {{val.payTime}}</span>
      <span>缴费方式：微信</span>
      <span>缴费金额：{{val.currency}}元 </span>
      <span>缴费人：{{val.payorName}}</span>
    </div>

    <div class="noneCss2" v-if="noneRecord"  >
      <span>暂无记录</span>
    </div>
  </div>
</template>

<script>
import { mapActions, mapState, mapGetters, mapMutations } from 'vuex'
export default {
  props: {
    payArr: '',
    noneRecord: ''  // 无记录提示
  },
  data () {
    return {
    }
  },
  computed: {
    ...mapState({
      studentId: state => state.user.studentId,
      childList: state => state.user.childList
    })
  },
  mounted() {
    
  }
}
</script>

<style scoped lang="less" >
.noneCss2 {
  width: 100%;
  display: flex;
  justify-content:center;
  margin-top: 1rem;
  font-size: 0.4rem;
}

.bigDiv {
  width: 6.6rem;
  height: 3rem;
  background: #fff;
  margin: 0.3rem 0 0.1rem 0.2rem;
  padding-left: 0.2rem;
  display: flex;
  flex-direction: column;
  font-size: 0.28rem;
  span {
    margin-bottom: 0.15rem;
  }
}

.titleTextCss {
  width: 6.6rem;
  height: 0.8rem;
  font-weight: bold;
  font-size: 0.32rem;
  display: flex;
  align-items: center;
  overflow: hidden;
}
</style>
